package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Parent entity. @author MyEclipse Persistence Tools
 */

public class Parent implements java.io.Serializable {

	// Fields

	private String parentUserName;
	private String parentId;
	private String name;
	private String password;
	private String photo;
	private Set relationships = new HashSet(0);

	// Constructors

	/** default constructor */
	public Parent() {
	}

	/** minimal constructor */
	public Parent(String parentUserName, String parentId, String name,
			String password) {
		this.parentUserName = parentUserName;
		this.parentId = parentId;
		this.name = name;
		this.password = password;
	}

	/** full constructor */
	public Parent(String parentUserName, String parentId, String name,
			String password, String photo, Set relationships) {
		this.parentUserName = parentUserName;
		this.parentId = parentId;
		this.name = name;
		this.password = password;
		this.photo = photo;
		this.relationships = relationships;
	}

	// Property accessors

	public String getParentUserName() {
		return this.parentUserName;
	}

	public void setParentUserName(String parentUserName) {
		this.parentUserName = parentUserName;
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public Set getRelationships() {
		return this.relationships;
	}

	public void setRelationships(Set relationships) {
		this.relationships = relationships;
	}

}